package com.hu.zhcc.shiro.service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.Tj_TBodyTestMapper;
import com.hu.zhcc.shiro.entity.tj.TBodyTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 体质测试 服务实现类
 * </p>
 *
 * @author tj
 * @since 2021-06-18
 */
@Service
public class Tj_TBodyTestServiceImpl extends ServiceImpl<Tj_TBodyTestMapper, TBodyTest> implements Tj_TBodyTestService {
    @Autowired
    private Tj_TBodyTestMapper tj_tBodyTestMapper;
    @Override
    public List<TBodyTest> queryByTestId(int id) {
        return tj_tBodyTestMapper.queryByTestId(id);
    }

    @Override
    public int addTest(TBodyTest tBodyTest) {
        return tj_tBodyTestMapper.addTest(tBodyTest);
    }
}
